<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>热闹网 - 后台管理系统</title>
<style type="text/css">
*{margin:0; padding:0;}
ul{list-style:none;}
body{font-family:"宋体"; font-size:12px; width:100%; text-align:center; background:#E5ECF3;}
#wrapper{ width:960px; margin:10px auto; padding:10px; text-align:left; border:1px solid #D0D0D0; background:#FFF;}
#header{ height:60px; margin-bottom:10px; padding:5px; border:1px solid #D0D0D0; background:#1B5790; color:#FFF;}
h2{font-size:18px; margin-bottom:12px;}
ul li a{text-decoration:none;}
a{color:#1B5790;}
</style>
<link rel="Bookmark" href="<?=gurl('images');?>/favicon.ico" />
<link rel="Shortcut Icon" type="image/x-icon" href="<?=gurl('images');?>/favicon.ico" />
<link rel="stylesheet" type="text/css" href="<?=gurl('css');?>/jquery.treeview.css" />
<script language="javascript" src="<?=gurl('js');?>/jq.js"></script>
<script language="javascript" src="<?=gurl('js');?>/jquery.treeview.js"></script>
<script type="text/javascript" language="javascript">
function iFrameHeight() {
	var ifm= document.getElementById("main");
	var subWeb = document.frames ? document.frames["main"].document : ifm.contentDocument;
	if(ifm != null && subWeb != null) {
	ifm.height = subWeb.body.scrollHeight;
	}
}
</script> 
</head>
<body>

<div id="wrapper">
<div id="header">
<a href="<?=site_url('/');?>" ><img border="0" src="http://www.renao100.com/images/logo.gif" style="float:right;"></a>
<h2>热闹网 - 后台管理系统</h2>
<p>欢迎您, <?=$manager['admin_username'];?> <a href="<?=site_url(rnadminpath().'/main/logout');?>" style="color:#FFF;">退出登录</a></p>
</div>
<div>
	<div style="float:left; width:18%; border:1px solid #D0D0D0;">
		<ul class="filetree treeview" id="browser">
			<li class="collapsable"><div class="hitarea collapsable-hitarea"></div><span class="folder">管理员信息管理</span>
				<ul>
					<li><span class="file"><a href="<?=site_url(rnadminpath().'/managers/add');?>" target="main">增加管理员</a></span></li>
					<li class="last"><span class="file"><a href="<?=site_url(rnadminpath().'/managers/');?>" target="main">管理员列表</a></span></li>
				</ul>
			</li>
			<li class="collapsable"><div class="hitarea collapsable-hitarea"></div><span class="folder">会员管理</span>
				<ul>
					<li class="last"><span class="file"><a href="<?=site_url(rnadminpath().'/accounts/');?>" target="main">会员列表</a></span></li>
				</ul>
			</li>
			<li class="collapsable"><div class="hitarea collapsable-hitarea"></div><span class="folder">话题墙内容管理</span>
				<ul>
					<li class="last"><span class="file"><a href="<?=site_url(rnadminpath().'/wall/');?>" target="main">话题列表</a></span></li>
				</ul>
			</li>
			<li class="collapsable"><div class="hitarea collapsable-hitarea"></div><span class="folder">轻站内容管理</span>
				<ul>
					<li><span class="file"><a href="<?=site_url(rnadminpath().'/site/');?>" target="main">小站列表</a></span></li>
					<li><span class="file"><a href="<?=site_url(rnadminpath().'/filter/');?>" target="main">敏感词过滤</a></span></li>
					<li class="closed expandable last"><div class="hitarea closed-hitarea expandable-hitarea"></div><span class="folder">模块管理</span>
						<ul style="display: none;">
							<li><span class="file"><a href="<?=site_url(rnadminpath().'/hot/');?>" target="main">热点</a></span></li>
							<li><span class="file"><a href="<?=site_url(rnadminpath().'/news/');?>" target="main">资讯</a></span></li>
							<li><span class="file"><a href="<?=site_url(rnadminpath().'/board/');?>" target="main">公告栏</a></span></li>
							<li><span class="file"><a href="<?=site_url(rnadminpath().'/social/');?>" target="main">社交活动</a></span></li>
							<li><span class="file"><a href="<?=site_url(rnadminpath().'/vote/');?>" target="main">投票</a></span></li>
							<li><span class="file"><a href="<?=site_url(rnadminpath().'/special/');?>" target="main">专题</a></span></li>
							<li><span class="file"><a href="<?=site_url(rnadminpath().'/video/');?>" target="main">视频</a></span></li>
							<li><span class="file"><a href="<?=site_url(rnadminpath().'/album/');?>" target="main">相册</a></span></li>
							<li><span class="file"><a href="<?=site_url(rnadminpath().'/wall/');?>" target="main">社区</a></span></li>
							<li class="last"><span class="file"><a href="<?=site_url(rnadminpath().'/miniblog/');?>" target="main">站长频道</a></span></li>	
						</ul>
					</li>
				</ul>
			</li>
			<li class="closed expandable"><div class="hitarea closed-hitarea expandable-hitarea"></div><span class="folder">网站底部</span>
				<ul style="display: none;">
					<li><span class="file"><a href="<?=site_url(rnadminpath().'/about/');?>" target="main">关于我们</a></span></li>
					<li><span class="file"><a href="<?=site_url(rnadminpath().'/about/contact');?>" target="main">联系我们</a></span></li>
					<li><span class="file"><a href="<?=site_url(rnadminpath().'/about/ad');?>" target="main">违规举报</a></span></li>
					<li><span class="file"><a href="<?=site_url(rnadminpath().'/about/hr');?>" target="main">职位招聘</a></span></li>
					<li><span class="file"><a href="<?=site_url(rnadminpath().'/about/partner');?>" target="main">合作伙伴</a></span></li>
					<li><span class="file"><a href="<?=site_url(rnadminpath().'/about/sitemap');?>" target="main">网站地图</a></span></li>
					<li><span class="file"><a href="<?=site_url(rnadminpath().'/about/help');?>" target="main">帮助中心</a></span></li>
					<li class="last"><span class="file"><a href="<?=site_url(rnadminpath().'/about/legal');?>" target="main">法律声明</a></span></li>
				</ul>
			</li>
			<li class="collapsable"><div class="hitarea closed-hitarea expandable-hitarea"></div><span class="folder">站内邮箱</span>
				<ul>
					<li><span class="file"><a href="<?=site_url(rnadminpath().'/message/post');?>" target="main">发信息</a></span></li>
					<li class="last"><span class="file"><a href="<?=site_url(rnadminpath().'/message/');?>" target="main">信息列表</a></span></li>
				</ul>
			</li>
			<li class="collapsable"><div class="hitarea closed-hitarea expandable-hitarea"></div><span class="folder">广告管理</span>
				<ul>
					<li><span class="file"><a href="<?=site_url(rnadminpath().'/ads/addplace');?>" target="main">增加广告位</a></span></li>
					<li><span class="file"><a href="<?=site_url(rnadminpath().'/ads/');?>" target="main">广告位管理</a></span></li>
					<li class="last"><span class="file"><a href="<?=site_url(rnadminpath().'/ads/lists');?>" target="main">广告管理</a></span></li>
				</ul>
			</li>
			<li class="collapsable"><div class="hitarea closed-hitarea expandable-hitarea"></div><span class="folder">统计管理</span>
				<ul>
					<li><span class="file"><a href="<?=site_url(rnadminpath().'/site/statis');?>" target="main">小站统计</a></span></li>
					<li><span class="file"><a href="<?=site_url(rnadminpath().'/ads/statis');?>" target="main">广告统计</a></span></li>
					<li class="last"><span class="file"><a href="http://tongji.baidu.com/hm-web/welcome/login" >全站统计</a></span></li>
				</ul>
			</li>
			<li class="last collapsable"><div class="hitarea closed-hitarea expandable-hitarea"></div><span class="folder">栏位管理</span>
				<ul>
					<li><span class="file"><a href="<?=site_url(rnadminpath().'/position/add');?>" target="main">增加栏位</a></span></li>
					<li class="last"><span class="file"><a href="<?=site_url(rnadminpath().'/position/');?>" target="main">栏位管理</a></span></li>
				</ul>
			</li>
		</ul>
	</div>
	<div style="float:left; width:80%; margin-left:10px;">
	<iframe name="main" id="main" src="<?=site_url(rnadminpath().'/main/show/main');?>" frameBorder=0 scrolling=no width="100%" onLoad="iFrameHeight()"></iframe>
	</div>
	<div style="clear:both;"></div>
</div>

<div style="text-align:center;"><p>Page rendered in {elapsed_time} seconds</p></div>
</div>
<script language="javascript">
$(document).ready(function(){
	$("#browser").treeview();
});
</script>
</body>
</html>